<include file="../Public/Header" />
<!----------------------------------------------------------------------------------->
<style>
    .articlesort{ font-size: 12px}
    .articlesort .name{ width: 200px; text-align: right; padding: 0 10px 0 0; height: 40px}
    .articlesort .submit{ text-align: right; background: none}
</style>
<form method="post" action="{:U('doinsert')}">
    
    <table class="articlesort">
        <tr>
            <td class="name">所属模块</td>
            <td>
                <select name="model_parent_id">
                    <option value="0">一级模块</option>
                    <php>foreach ($models['title'] as $vo){</php>
                    <option value="{$vo.model_id}" <php>if ($sid==$vo[model_id]){</php>selected<php>}</php>>|-{$vo.model_name}</option>
                    <php>}</php>
                </select>
            </td>
            
        </tr>
        <tr>
            <td class="name">模块名称</td>
            <td><input type="text" name="model_name" value="" /></td>
        </tr>
        
        <tr>
            <td class="name">模块状态</td>
            <td>
                <input type="radio" value="1" name="model_status" checked="checked" />开启
                <input type="radio" value="0" name="model_status" />关闭
            </td>
        </tr>
        <tr>
            <td class="name">模块排序</td>
            <td><input type="text" name="model_order" value="0" size="4" /></td>
        </tr>
        <tr>
            <td class="name">模块路径</td>
            <td><input type="text" name="model_path" value=""  /></td>
        </tr>
        <tr>
            <td class="name">模块语言</td>
            <td><input type="text" name="model_language" value=""  /></td>
        </tr>
        <tr>
            <td class="submit" colspan="2"><input type="submit" value="添加模块" /></td>
        </tr>
    </table>
    
    
    
</form>
                        
			 
			 
<!-----------------------------------------------------------------------------------> 
<include file="../Public/Footer" />